package com.example.xiaomi.service;

import com.example.xiaomi.entity.topic;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TopicService {


    List<topic> findTopicAccount();
    List<topic> findAllTopics(String topic);
    List<topic> findAllTopic(String topic);
    List<topic> findTopics(String topic);
    List<topic> findTopicByDate();
//    List<topic> findTopicCount();

    PageInfo<topic> findPageTopic(Integer pageNum, Integer pageSize, String topic);
}
